package com.mc.lp.shared.vo.user.bubble;
public class BubbleValue {
	public BubbleValue(){}
	public BubbleValue(boolean flag){
		this.flag=flag;
	}
	private boolean flag; //if false, then its a weakness
	private Object info;
	private boolean valid=true; //if false then it is n/a
	public boolean isFlag() {
		return flag;
	}
	public void setFlag(boolean flag) {
		this.flag = flag;
	}
	
	public BubbleValue(boolean flag,boolean isValid) {
		this.flag = flag;
		this.valid=isValid;
	}
	
	public Object getInfo() {
		return info;
	}
	public void setInfo(Object info) {
		this.info = info;
	}
	
	public boolean isValid() {
		return valid;
	}
	public void setValid(boolean isValid) {
		this.valid = isValid;
	}
	@Override
	public String toString() {
		return "BubbleValue [flag=" + flag + ", " + (info != null ? "info=" + info + ", " : "") + "valid=" + valid + "]";
	}
	
	
}
